package com.ultron.app.config.websocket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * 标题：WebSocketConfig
 * 说明：
 * 时间：2023/4/21
 * 作者：admin
 */
@Configuration
public class WebSocketConfig {
    public WebSocketConfig() {
    }

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
